home *** CD-ROM | disk | FTP | other *** search
/ Apple Developer Connection Student Program / ADC Tools Sampler CD Disk 3 1999.iso / Metrowerks CodeWarrior / Java Support / Java_Source / Java2 / src / javax / accessibility / AccessibleResourceBundle.java < prev    next >
Encoding:
Java Source  |  1999-05-28  |  4.4 KB  |  136 lines  |  [TEXT/CWIE]

  1. /*
  2.  * %W% %E%
  3.  *
  4.  * Copyright 1997, 1998 by Sun Microsystems, Inc.,
  5.  * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
  6.  * All rights reserved.
  7.  *
  8.  * This software is the confidential and proprietary information
  9.  * of Sun Microsystems, Inc. ("Confidential Information").  You
  10.  * shall not disclose such Confidential Information and shall use
  11.  * it only in accordance with the terms of the license agreement
  12.  * you entered into with Sun.
  13.  */
  14.  
  15. package javax.accessibility;
  16.  
  17. import java.util.ListResourceBundle;
  18.  
  19. /**
  20.  * A resource bundle containing the localized strings in the accessibility 
  21.  * package.  This is meant only for internal use by Java Accessibility and
  22.  * is not meant to be used by assistive technologies or applications.
  23.  *
  24.  * @version     %I% %G% %U%
  25.  * @author      Willie Walker
  26.  */
  27. public class AccessibleResourceBundle extends ListResourceBundle {
  28.  
  29.     /**
  30.      * Returns the mapping between the programmatic keys and the
  31.      * localized display strings.
  32.      */
  33.     public Object[][] getContents() {
  34.     return contents;
  35.     }
  36.  
  37.     /** 
  38.      * The table holding the mapping between the programmatic keys
  39.      * and the display strings for the en_US locale.
  40.      */
  41.     static final Object[][] contents = {
  42.     // LOCALIZE THIS
  43.         // Role names
  44. //        { "application","application" },
  45. //        { "border","border" },
  46. //        { "checkboxmenuitem","check box menu item" },
  47. //        { "choice","choice" },
  48. //        { "column","column" },
  49. //        { "cursor","cursor" },
  50. //        { "document","document" },
  51. //        { "grouping","grouping" },
  52. //        { "image","image" },
  53. //        { "indicator","indicator" },
  54. //        { "listitem","list item" },
  55. //        { "radiobuttonmenuitem","radio button menu item" },
  56. //        { "row","row" },
  57. //        { "tablecell","table cell" },
  58. //        { "treenode","tree node" },
  59.         { "alert","alert" },
  60.         { "awtcomponent","AWT component" },
  61.         { "checkbox","check box" },
  62.         { "colorchooser","color chooser" },
  63.         { "columnheader","column header" },
  64.         { "combobox","combo box" },
  65.         { "desktopicon","desktop icon" },
  66.         { "desktoppane","desktop pane" },
  67.         { "dialog","dialog" },
  68.         { "directorypane","directory pane" },
  69.         { "glasspane","glass pane" },
  70.         { "filechooser","file chooser" },
  71.         { "filler","filler" },
  72.         { "frame","frame" },
  73.         { "internalframe","internal frame" },
  74.         { "label","label" },
  75.         { "layeredpane","layered pane" },
  76.         { "list","list" },
  77.         { "menubar","menu bar" },
  78.         { "menu","menu" },
  79.         { "menuitem","menu item" },
  80.         { "optionpane","option pane" },
  81.         { "pagetab","page tab" },
  82.         { "pagetablist","page tab list" },
  83.         { "panel","panel" },
  84.     { "passwordtext","password text" },
  85.         { "popupmenu","popup menu" },
  86.         { "progressbar","progress bar" },
  87.         { "pushbutton","push button" },
  88.         { "radiobutton","radio button" },
  89.         { "rootpane","root pane" },
  90.         { "rowheader","row header" },
  91.         { "scrollbar","scroll bar" },
  92.         { "scrollpane","scroll pane" },
  93.         { "separator","separator" },
  94.         { "slider","slider" },
  95.         { "splitpane","split pane" },
  96.         { "swingcomponent","swing component" },
  97.         { "table","table" },
  98.         { "text","text" },
  99.         { "tree","tree" },
  100.         { "togglebutton","toggle button" },
  101.         { "toolbar","tool bar" },
  102.         { "tooltip","tool tip" },
  103.         { "unknown","unknown" },
  104.         { "viewport","viewport" },
  105.         { "window","window" },
  106.         // State modes
  107.         { "active","active" },
  108.         { "armed","armed" },
  109.         { "busy","busy" },
  110.         { "checked","checked" },
  111.     { "collapsed", "collapsed" },
  112.         { "editable","editable" },
  113.     { "expandable", "expandable" },
  114.     { "expanded", "expanded" },
  115.         { "enabled","enabled" },
  116.         { "focusable","focusable" },
  117.         { "focused","focused" },
  118.     { "iconified", "iconified" },
  119.     { "modal", "modal" },
  120.     { "multiline", "multiple line" },
  121.         { "multiselectable","multiselectable" },
  122.     { "opaque", "opaque" },
  123.         { "pressed","pressed" },
  124.     { "resizable", "resizable" },
  125.         { "selectable","selectable" },
  126.         { "selected","selected" },
  127.         { "showing","showing" },
  128.     { "singleline", "single line" },
  129.     { "transient", "transient" },
  130.         { "visible","visible" },
  131.         { "vertical","vertical" },
  132.         { "horizontal","horizontal" }
  133.     // END OF MATERIAL TO LOCALIZE
  134.     };
  135. }
  136.